package com.dong.cloud.feign;

import org.springframework.stereotype.Service;

/**
 * @author DJ
 * @description feien调用服务失败降级方法
 * @date 2022/1/16 3:56 下午
 **/
@Service
public class PaymentFallbackServiceImpl implements PaymentFeign {

    @Override
    public String paymentInfoOK(Integer id) {
        return ">>>PaymentFallbackServiceImpl-paymentInfoOK-fallbackMethod";
    }

    @Override
    public String paymentInfoTimeout(Integer id) {
        return ">>>PaymentFallbackServiceImpl-paymentInfoTimeout-fallbackMethod";
    }

}
